package com.woniu.uums.mapper;

import com.woniu.uums.dto.ZfPowerUserDto;
import com.woniu.uums.pojo.ZfPoweruser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author HP
* @description 针对表【ZF_POWERUSER】的数据库操作Mapper
* @createDate 2024-11-21 15:34:24
* @Entity com.woniu.pojo.ZfPoweruser
*/
public interface ZfPoweruserMapper extends BaseMapper<ZfPoweruser> {

    ZfPoweruser queryLogin(@Param("username") String username,@Param("password") String password);

    List<ZfPowerUserDto> queryAll(ZfPowerUserDto zfPowerUserDto);

    ZfPowerUserDto queryByCode(@Param("code") String code);

    List<ZfPowerUserDto> queryByRoleId(@Param("roleId") String roleId);
}




